﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.mssql
{
	// Token: 0x0200017C RID: 380
	public class TMssqlLabel : TCustomSqlStatement
	{
		// Token: 0x06000D45 RID: 3397 RVA: 0x0030886B File Offset: 0x00306A6B
		public TMssqlLabel(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstmssqllabel;
		}

		// Token: 0x06000D46 RID: 3398 RVA: 0x0030887F File Offset: 0x00306A7F
		internal override void buildsql()
		{
		}

		// Token: 0x06000D47 RID: 3399 RVA: 0x00308881 File Offset: 0x00306A81
		internal override void clear()
		{
		}

		// Token: 0x06000D48 RID: 3400 RVA: 0x00308883 File Offset: 0x00306A83
		internal override string getasprettytext()
		{
			return "";
		}

		// Token: 0x06000D49 RID: 3401 RVA: 0x0030888A File Offset: 0x00306A8A
		internal virtual void iterate(TVisitorAbs pvisitor)
		{
		}

		// Token: 0x06000D4A RID: 3402 RVA: 0x0030888C File Offset: 0x00306A8C
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000D4B RID: 3403 RVA: 0x003088A1 File Offset: 0x00306AA1
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000D4C RID: 3404 RVA: 0x003088B1 File Offset: 0x00306AB1
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
